Repository navigation
test(tests): pass exclude_resource_kinds in the code pipeline citation test - #313
karan-panda wants to merge 1 commit into
Conversation
…n test Signed-off-by: Karan Panda <karanpanda1206@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
|
Hi @kmr-rohit, this is a one-line test fix for #312 (the test broke after #290). CI hasn't run yet, so could you add /ok-to-test when you get a chance? Thanks! |
Fixes #312
test_code_pipeline_preserves_github_canonical_citation_urlfails since #290 added the requiredexclude_resource_kindsargument tochunk_and_embed_code():CI doesn't catch it: the test skips itself unless
kfpis installed, and the test job doesn't install it. It fails locally withkfpinstalled.This passes the pipeline's own default,
"CustomResourceDefinition". The test's YAML is anExperiment, so nothing is excluded and the citation URL check is unchanged.Testing:
tests/test_code_utils.py11 passed; full suite 192 passed;ruff checkandruff format --checkclean. Test-only change, so no/evalor re-ingest needed.